﻿namespace Gmantis.Controls.DataGrid
{
    internal class HorzSubpageInfo
    {
        // Fields
        private readonly int _firstColumnIdx;
        private readonly int _lastColumnIdx;
        private readonly DataGrid _printGrid;

        // Methods
        public HorzSubpageInfo(DataGrid printGrid, int firstColumnIdx, int lastColumnIdx)
        {
            this._printGrid = printGrid;
            this._firstColumnIdx = firstColumnIdx;
            this._lastColumnIdx = lastColumnIdx;
        }

        // Properties
        public int FirstColumnIdx
        {
            get
            {
                return this._firstColumnIdx;
            }
        }

        public int LastColumnIdx
        {
            get
            {
                return this._lastColumnIdx;
            }
        }

        public DataGrid PrintGrid
        {
            get
            {
                return this._printGrid;
            }
        }
    }
}
